﻿using WH.Contracts.Systems.Users;
using WH.Model.Systems;
using WH.Repositories.BaseRepositories;
using Rw.Core.Common.Paging;
using WH.Common.Paging;

namespace WH.Repositories.IRepositories.ISystem
{
    public interface IUserRepository : IBaseRepository<UserEntity>
    {
        Task<IPagedList<UserEntity>> GetUsersByPageAsync(PageParam pager, UserFilter filter);

        Task<int> AddLogonCount(UserEntity user);
    }
}
